<?php
// 原始数据、具象为26个用户，每一个用户可以发展会员，记录绝对等级、推荐路径
$original_data=array(
	[
		'id'=>1,
		'name'=>'a',
		'recommend_id'=>0,
		'level'=>1,
		'paths'=>',0,',
	],
	[
		'id'=>2,
		'name'=>'b',
		'recommend_id'=>0,
		'level'=>1,
		'paths'=>',0,',
	],
	[
		'id'=>3,
		'name'=>'c',
		'recommend_id'=>1,
		'level'=>2,
		'paths'=>',0,1,',
	],
	[
		'id'=>4,
		'name'=>'d',
		'recommend_id'=>2,
		'level'=>2,
		'paths'=>',0,2,',
	],
	[
		'id'=>5,
		'name'=>'e',
		'recommend_id'=>3,
		'level'=>3,
		'paths'=>',0,1,3,',
	],
	[
		'id'=>6,
		'name'=>'f',
		'recommend_id'=>4,
		'level'=>3,
		'paths'=>',0,2,4,',
	],
	[
		'id'=>7,
		'name'=>'g',
		'recommend_id'=>3,
		'level'=>3,
		'paths'=>',0,1,3,',
	],
	[
		'id'=>8,
		'name'=>'h',
		'recommend_id'=>4,
		'level'=>3,
		'paths'=>',0,2,4,',
	],
	[
		'id'=>9,
		'name'=>'i',
		'recommend_id'=>7,
		'level'=>4,
		'paths'=>',0,1,3,7,',
	],
	[
		'id'=>10,
		'name'=>'j',
		'recommend_id'=>8,
		'level'=>4,
		'paths'=>',0,2,4,8,',
	],
	[
		'id'=>11,
		'name'=>'k',
		'recommend_id'=>1,
		'level'=>2,
		'paths'=>',0,1,',
	],
	[
		'id'=>12,
		'name'=>'l',
		'recommend_id'=>2,
		'level'=>2,
		'paths'=>',0,2,',
	],
	[
		'id'=>13,
		'name'=>'m',
		'recommend_id'=>3,
		'level'=>3,
		'paths'=>',0,1,3,',
	],
	[
		'id'=>14,
		'name'=>'n',
		'recommend_id'=>4,
		'level'=>3,
		'paths'=>',0,2,4,',
	],
	[
		'id'=>15,
		'name'=>'o',
		'recommend_id'=>3,
		'level'=>3,
		'paths'=>',0,1,3,',
	],
	[
		'id'=>16,
		'name'=>'p',
		'recommend_id'=>4,
		'level'=>3,
		'paths'=>',0,2,4,',
	],
	[
		'id'=>17,
		'name'=>'q',
		'recommend_id'=>7,
		'level'=>4,
		'paths'=>',0,1,3,7,',
	],
	[
		'id'=>18,
		'name'=>'r',
		'recommend_id'=>8,
		'paths'=>',0,2,4,8,'
	],
		[
		'id'=>19,
		'name'=>'s',
		'recommend_id'=>1,
		'level'=>2,
		'paths'=>',0,1,',
	],
	[
		'id'=>20,
		'name'=>'t',
		'recommend_id'=>2,
		'level'=>2,
		'paths'=>',0,2,'
	],
	[
		'id'=>21,
		'name'=>'u',
		'recommend_id'=>3,
		'level'=>3,
		'paths'=>',0,1,3,',
	],
	[
		'id'=>22,
		'name'=>'v',
		'recommend_id'=>4,
		'level'=>3,
		'paths'=>',0,2,4,',
	],
	[
		'id'=>23,
		'name'=>'w',
		'recommend_id'=>3,
		'level'=>3,
		'paths'=>',0,1,3,',
	],
	[
		'id'=>24,
		'name'=>'x',
		'recommend_id'=>4,
		'level'=>3,
		'paths'=>',0,2,4,',
	],
	[
		'id'=>25,
		'name'=>'y',
		'recommend_id'=>7,
		'level'=>4,
		'paths'=>',0,1,3,7,',
	],
	[
		'id'=>26,
		'name'=>'z',
		'recommend_id'=>8,
		'paths'=>',0,2,4,8,'
	],
);
